<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{$title}</title>
</head>
<body>

</body>
</html><!DOCTYPE html>
<html >
<head>
    <meta charset="UTF-8">
    <title>{$title|default='xiaoniba'}</title>
    <link rel="stylesheet" href="/static/css/bootstrap.min.css">
    <script src="/static/js/jquery-3.4.1.min.js"></script>
    <script src="/static/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
    <div class="row">

        <div class="col-md-12">
            <h2 class="text-center">用户信息表</h2>
            <div class="pager text-center" style="margin-bottom: 0">{$data|raw}</div>

            <table class="table table-default table-bordered table-hover text-center">
                <thead>
                <tr class="bg-primary">
                    <td>ID</td>
                    <td>姓名</td>
                    <td>电话</td>
                    <td>邮箱</td>
                    <td>状态</td>
                    <td>角色</td>
                    <td>级别</td>
                    <td>更新时间</td>
                    <td>创建时间</td>
                </tr>
                </thead>
                {volist name="data" id="list"}
                <tr>
                    <td>{$list.id}</td>
                    <td>{$list.name}</td>
                    {if $list.mobile < 8 }
                    <td class="text-danger">没留电话</td>
                    {else}
                    <td>{$list.mobile}</td>
                    {/if}

                    <td>{$list.email}</td>
                    <td>{$list.status}</td>
                    <td>{$list.is_admin}</td>
                    <td>{$list.level}</td>
                    <td>{$list.update_time}</td>
                    <td>{$list.create_time}</td>
                </tr>
                {/volist}
            </table>
            <div class="pager text-center " style="margin-bottom: 0">{$data|raw}</div>


        </div>
    </div>
</div>
</body>
</html>